<a href='https://github.com/angular/angular.js/edit/v1.4.x/docs/content/error/$interpolate/unsafe.ngdoc?message=docs(error%2Funsafe)%3A%20describe%20your%20change...' class='improve-docs btn btn-primary'><i class="glyphicon glyphicon-edit">&nbsp;</i>Improve this Doc</a>


<h1>Error: $interpolate:unsafe
  <div><span class='hint'>MessageFormat extensions not allowed in secure context</span></div>
</h1>

<div>
    <pre class="minerr-errmsg" error-display="Use of select/plural MessageFormat syntax is currently disallowed in a secure context ({0}).  At line {1}, column {2} of text “{3}”">Use of select/plural MessageFormat syntax is currently disallowed in a secure context ({0}).  At line {1}, column {2} of text “{3}”</pre>
</div>

<h2>Description</h2>
<div class="description">
  <p>You have attempted to use a MessageFormat extension in your interpolation expression that is marked as a secure context.  For security purposes, this is not supported.</p>
<p>Read more about secure contexts at <a href="api/ng/service/$sce">Strict Contextual Escaping
(SCE)</a> and about the MessageFormat extensions at <a href="guide/i18n#MessageFormat">Angular i18n MessageFormat</a>.</p>

</div>


